package com.founder.model;

import java.util.Date;

import javax.persistence.Id;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonFormat;


@Table(name="t_client")
public class Client {
    
	@Id
	private String id;

   
    private String clientIp;

    private String name;

    private String lasttimeoffset;

    private String clockIp;

    private String orgId;

    private String alarmLimit;

    @JsonFormat(pattern="yyyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    private Date clientTime;

    private String contact;

    private String linkman;

    private String synchstate;

    private String clientLevel;

    private String clientType;

    private Date firstconnecttime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getClientIp() {
        return clientIp;
    }

    public void setClientIp(String clientIp) {
        this.clientIp = clientIp == null ? null : clientIp.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getLasttimeoffset() {
        return lasttimeoffset;
    }

    public void setLasttimeoffset(String lasttimeoffset) {
        this.lasttimeoffset = lasttimeoffset;
    }

    public String getClockIp() {
        return clockIp;
    }

    public void setClockIp(String clockIp) {
        this.clockIp = clockIp == null ? null : clockIp.trim();
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId == null ? null : orgId.trim();
    }

    public String getAlarmLimit() {
        return alarmLimit;
    }

    public void setAlarmLimit(String alarmLimit) {
        this.alarmLimit = alarmLimit;
    }

    public Date getClientTime() {
        return clientTime;
    }

    public void setClientTime(Date clientTime) {
        this.clientTime = clientTime;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact == null ? null : contact.trim();
    }

    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman == null ? null : linkman.trim();
    }

    public String getSynchstate() {
        return synchstate;
    }

    public void setSynchstate(String synchstate) {
        this.synchstate = synchstate == null ? null : synchstate.trim();
    }

    public String getClientLevel() {
        return clientLevel;
    }

    public void setClientLevel(String clientLevel) {
        this.clientLevel = clientLevel == null ? null : clientLevel.trim();
    }

    public String getClientType() {
        return clientType;
    }

    public void setClientType(String clientType) {
        this.clientType = clientType == null ? null : clientType.trim();
    }

    public Date getFirstconnecttime() {
        return firstconnecttime;
    }

    public void setFirstconnecttime(Date firstconnecttime) {
        this.firstconnecttime = firstconnecttime;
    }
}